<%@ page language="java" contentType="text/html; charset=UTF-8" isELIgnored="false" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>临床数据查询系统</title>
    <link rel="stylesheet" type="text/css"
          href="${pageContext.request.contextPath}/common/bootstrap/css/bootstrap_pagination.css">
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/common/bootstrap/js/jquery-1.12.4.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/common/bootstrap/js/bootstrap.min.js"></script>
    <%--JQuery调用cookie方法--%>
    <script src="${pageContext.request.contextPath}/common/bootstrap/js/jquery.cookie.js" type="text/javascript"
            charset="utf-8"></script>
    <%--样式--%>
    <link rel="stylesheet" type="text/css"
          href="${pageContext.request.contextPath}/pageCss/ClinicalDataQuerySystem/choose.css">
</head>
<body>
<div class="col-sm-12" id="nav_choose">
    <div style="font-size: 20px; float: left;">
        <b>临床数据查询系统</b>
    </div>

    <%--导航右边--%>
    <div style="font-size: 18px; width:200px; float: right; padding-right: 20px;">
        <b id="login_user">登录人：${meaningUser.username}</b>
    </div>
    <div style="font-size: 18px; float: right; padding-right: 20px;">
        <a href="auditManagement.jsp">审核管理</a>
    </div>
    <div style="font-size: 18px; float: right; padding-right: 20px;">
        <a>查询事件</a>
    </div>
    <div style="font-size: 18px; float: right; padding-right: 20px;">
        <a href="clinicalDataQueryDisplay.jsp">我的查询</a>
    </div>
</div>
<div class="container">
    <%-- 相册图片 --%>
    <%--<ul id="wrap" class="center"> </ul>--%>
    <div class="col-sm-12" style="margin-top: 50px;">
        <h5><b>选择数据源</b></h5>
    </div>
    <div class="col-sm-12">
        <button type="button" id="btn_clinical" class="btn btn-primary btn-block">
            <i class="glyphicon glyphicon-hourglass" style="color:blue; font-size: 50px; padding-right: 50px;"></i>临床数据中心
        </button>
    </div>
    <div class="col-sm-12">
        <button type="button" id="btn_follow" class="btn btn-primary btn-block">
            <i class="glyphicon glyphicon-bishop" style="color: red; font-size: 50px; padding-right: 50px;"></i>随访系统
        </button>
    </div>
</div>

<script>
    $(function () {
        /*获取登录人姓名*/
        var username = $.cookie("name");
        if (username != null) {
            $("#login_user").html("账户名：" + username);
        }

        $("#btn_clinical").click(function () {
            window.location.href = "../../index.jsp?state=1";
        })
        $("#btn_follow").click(function () {
            window.location.href = "../../index.jsp?state=2";
        })
    })
</script>
</body>
</html>